package com.vf.admin.miaodong.entity;

import com.vf.admin.common.db.annotation.Column;
import com.vf.admin.common.db.annotation.NoColumn;
import com.vf.admin.common.db.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Table(name = "dynamic_alert")
@Data
public class DynamicAlert implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column(length = 11, name = "id", index = true)
    private Integer id;
    private Integer fromUserId; //通知来源人
    private String fromUserNick; //通知来源人昵称
    private String fromUserPic; //通知来源人头像
    private Integer userId; //被通知人
    private String nick; //被通知人昵称
    private String pic; //被通知人头像
    private Integer dynamicId; //动态id
    private String dynamicImage; //动态首图
    private Integer type; //1点赞了我的动态 2评论了我的动态 3点赞了我的评论 4回复了我的评论
    private String content; //评论内容/回复评论的内容
    private Date createTime;
}
